package com.acme.bankapp.service.bank.exception;

import java.io.File;

/**
 * Exception is thrown, when user tries to read a file having invalid format.
 * 
 */
@SuppressWarnings("serial")
public class InvalidFeedFormatException extends Exception {
	/**
	 * Creates invalid feed format exception.
	 * 
	 * @param file
	 *            file
	 */
	public InvalidFeedFormatException(File file) {
		super("File " + file.getName() + " has invalid format.");
	}
}
